/* Major Page Positioning */
html, body {
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

#header {
    border-bottom: 4px groove #ccc;
    background: #111111;
    padding: 0;
    text-align: right;
}

#headertitles {
    vertical-align: middle;
    display: table-cell;
    min-height: 110px;
    background-color: #111;
    text-align: left;
    float: left;
    margin-bottom: 10px;
}

#centeringblock {
    vertical-align: middle;
    display: table-cell;
    height: 110px;
}

#rightblock {
    display: inline-block;
    background-color: #111;
    padding-right: 10px;
    margin: 0 0 auto auto;
}

#content {
    margin: 15px;
    clear: both;
}

#footer {
    text-align: center;
    clear: both;
    width: 100%;
    padding-bottom: 10px;
}

/* Look and Feel */
body {
    background: #f0f0fe;
}

#headertitles h1, #headertitles h2 {
    margin: 0;
    padding: 0;
}

#headertitles h1 a , #headertitles h2 a {
    margin-left: 10px;
    text-transform: capitalize;
    text-decoration: none;
    color: #eeeeee;
}
#headertitles a:hover {
    text-decoration: underline;
}

a {
    color: black;
}

#header a {
    color: #eee;
}

/* Navigation */
#navigation {

}

#navigation ul {
    margin: 0;
    padding: 0;
}

#navigation li{
    display:inline-block;
    width: 100px;
    height: 80px;
    margin: 0px;
    padding: 0px;
    text-align: center;
    border: 1px solid white;
    border-right: none;
    position: relative;
    top: -1px;
    background: url('../img/inactive_menu.png')
}

#navigation li.last {
    border-right: 1px solid white;
}

#navigation li a {
    text-decoration: none;
    height: 100%;
    width: 100%;
    display: block;
}

#navigation li.selected {
    background: #555 url('../img/active_menu.png')
}

#navigation li a {
    background-repeat: no-repeat;
    background-position: 50% 30px;
}

#navigation li a:hover {
    background-color: #444;
}

#navigation #microfilm-menu a {
    background-image: url('../img/microfilm.png');
}

#navigation #newspaper-menu a {
    background-image: url('../img/newspaper.png');
}

#navigation #date-menu a {
    background-image: url('../img/calendar.png');
}

#searchbox {
    text-align: right;
    margin-top: 5px;
}

/* Single Page Display */
#pageimgdiv {
    max-width: 100%;
    overflow: auto;
}

#pageeditor ul, #pagenav ul {
    margin: 0;
    padding: 0;
}

#pageeditor li, #pagenav li {
    list-style: none;
    display: table-cell;
    padding-right: 4px;
    vertical-align: top;
}

#pageeditor li img, #pagenav li a img{
    border: 0px;
    box-shadow: 3px 3px 4px #000;
    border-radius: 7px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
}

#pageeditor li img:active, #pagenav li a img:active {
    box-shadow: none;
    position: relative;
    left: 2px;
    top: 2px;
}

#pageeditor #edit_busyli #edit_busysignal {
    display:none;
}

#pageeditor #edit_busyli #edit_busysignal.busy {
    display: inline;
}

.allpages select {
    box-shadow: 3px 3px 4px #000;
    font-size: 30px;
    font-weight: bold;
    height: 40px;
    min-width: 60px;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    margin: 0;
    border-radius: 7px;
    border: 2px inset grey;
}

.allpages select option {
    font-size: 15px;
}

.newspaper_page_help {

}

.newspaper_page_help table,
.newspaper_page_help tr,
.newspaper_page_help td,
.newspaper_page_help th {
    border: 1px solid black;
    background-color: white;
    text-align: left;
}

.newspaper_page_help th,
.newspaper_page_help td {
    padding: 5px;
}

.newspaper_page_help td.button {
    text-align: center;
    vertical-align: middle;
}

p.ocrtext {
    background-color: white;
    padding: 8px;
    max-height: 250px;
    overflow: auto;
}